﻿@model TopicMoveModel
@using Nop.Web.Models.Boards;
@{    
    Layout = "~/Views/Shared/_Root.cshtml";

    Html.AddTitleParts(T("Forum.PageTitle.MoveTopic").Text);
}
@*set "data-ajax" attribute to "false"*@
@using (Html.BeginRouteForm("TopicMove", new RouteValueDictionary(new { id = Model.Id }), FormMethod.Post,
            new Dictionary<string, Object> { { "data-ajax", "false" } }))
{
    @Html.HiddenFor(model => model.Id)
    <div class="page move-topic-page">
        <div class="page-title">
            <h1>@T("Forum.MoveTopic")</h1>
        </div>
        <div class="page-body">
            @T("Forum.SelectTheForumToMoveTopic"):
            @Html.DropDownList("ForumSelected", new SelectList(Model.ForumList, "Value", "Text"))
            <div class="options">
                <input type="submit" value="@T("Forum.Submit")" data-inline="true" />
                <a href="@Url.RouteUrl("TopicSlug", new { id = Model.Id, slug = Model.TopicSeName })" data-inline="true" data-role="button">@T("Forum.Cancel")</a>
            </div>
        </div>
    </div>
}